package cn.itcast.feign.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;

/*
    先声明一个类，然后声明一个Logger.Level的对象
 */
public class DefaultFeignConfiguration {
    @Bean
    public Logger.Level feignLogLevel(){
        return Logger.Level.FULL; // 日志级别为Full
    }
}
